<include file="Public:header" />
<!--数据库设置-->
<div class="subnav">
    <h1 class="title_2 line_x">{:L('db_config')}</h1>
</div>
<div class="common-form pad_lr_10">
	<form id="info_form" action="{:U('Backup/configure')}" method="post">
		<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
				<th width="30"></th>
				<td width="80">{:L('db_host')}:</td>
				<td align="left"><input type="text" class="input-text" name="DB_HOST" value="{$config.DB_HOST}" />&nbsp;<span class="gray mr10">{:L('localhost')}</span></td>
			</tr>
			<tr>
				<th></th>
				<td>{:L('db_name')}:</td>
				<td><input type="text" class="input-text" name="DB_NAME" value="{$config.DB_NAME}" /></td>
			</tr>
			<tr>
				<th></th>
				<td>{:L('db_user')}:</td>
				<td><input type="text" class="input-text" name="DB_USER" value="{$config.DB_USER}" /></td>
			</tr>
			<tr>
				<th></th>
				<td>{:L('db_pwd')}:</td>
				<td><input type="text" class="input-text" name="DB_PWD" value="{$config.DB_PWD}" /></td>
			</tr>
			<tr>
				<th></th>
				<td>{:L('db_port')}:</td>
				<td><input type="text" class="input-text" name="DB_PORT" value="{$config.DB_PORT}" />&nbsp;<span class="gray mr10">{:L('db_port_number')}</span></td>
			</tr>
			<tr>
				<th></th>
				<td>{:L('db_prefix')}:</td>
				<td><input type="text" class="input-text" name="DB_PREFIX" value="{$config.DB_PREFIX}" /></td>
			</tr>
			<tr>
				<th></th>
				<td>{:L('db_charset')}:</td>
				<td><input type="text" class="input-text" name="DB_CHARSET" value="{$config.DB_CHARSET}" /></td>
			</tr>
            <tr>
            	<th></th>
                <td><input type="submit" id="J_clear_cache" class="btn btn_submit" value="{:L('save')}"/></td>
                <td></td>
            </tr>
		</table>
	</form>
</div>
</div>
<include file="Public:footer" />
</body>
</html>